package com.woniuxy.commons.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Waves
 * @date 2022/6/8 14:11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "处方")
public class Prescription {
    @ApiModelProperty(value = "处方id")
    private int id;
    @ApiModelProperty(value = "医生id")
    private int doctor_id;
    @ApiModelProperty(value = "患者id")
    private int user_id;
    @ApiModelProperty(value = "处方编号")
    private String no;
    @ApiModelProperty(value = "加入时间")
    private Date join_time;
    @ApiModelProperty(value = "初步诊断")
    private String diagnosis;
    @ApiModelProperty(value = "处理意见")
    private String opinion;
    @ApiModelProperty(value = "花费")
    private BigDecimal cost;
    @ApiModelProperty(value = "审核状态")
    private int checked_status;
    @ApiModelProperty(value = "处方图片")
    private String formulation_image;
    @ApiModelProperty(value = "审核未通过原因")
    private String comment;
    @ApiModelProperty(value = "创建时间")
    private Date create_time;
    @ApiModelProperty(value = "更新时间")
    private Date update_time;
    @ApiModelProperty(value = "软删除标志")
    private int is_deleted;
}
